<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:include="public/page_css::page_css ('查看任务明细(第二个页面)')" />

<body>

<form class="layui-form layui-card-header  layui-card-header-auto" id="searchForm">
    <input type="hidden" class="layui-input" th:value="${id}" id="zjdmxid" name="zjdmxid"/>
    <input type="hidden" class="layui-input"  id="lx" name="lx"  value="0"/>
</form>
<section class="panel panel-padding layui-card-body">
    <div class="pro">
        <table id="table" class="table text-nowrap"></table>
    </div>
</section>
</body>
<div th:include="public/public_js::public_js"></div>

<script th:inline="javascript">
    $(function () {
    })

</script>
<script>

    layui.use(['list','layer','zzpUtils','jquery','laydate'],function () {
        var zzpUtils= layui.zzpUtils,
            $ = layui.jquery,
            laydate = layui.laydate;
        var form = layui.form;

        var $table = zzpUtils.table({
            elem: '#table',
            isApi: true,
            pagination:true,
            url: '/wmsqualityhistory/list',
            columns: [
            {
                field: 'kwmc',
                title: '库位名称'
            },{
                field: 'sl',
                title: '数量'
            }],
            queryParams: function () {//查询条件
                return  zzpUtils.getFormJson($("#searchForm"));
            },
            detailFormatter: function (index, row) {
                return "这里就没有确定过11";
            }
        });
    });

</script>
</html>